union checkout: Fix symlink handling for xattrs
authorAlexander Larsson <alexl@redhat.com>
Fri, 5 Dec 2014 12:46:58 +0000 (13:46 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 5 Dec 2014 14:53:42 +0000 (15:53 +0100)
commit22ed7d0fbf357b640521f8557d28312145b2c84c
tree4a1a7cc1b43fbf3148c543d5d1fdec3bae31f463
parentbb82c17701ad36bd6a408a8212164d42f70f65fb
union checkout: Fix symlink handling for xattrs

Applying xattrs on a symlink during checkout failed since
it was setting the xattrs on the final filename, not the
temporary name.

This made the "checkout union 1" test in test-basic.sh
fail.

https://bugzilla.gnome.org/show_bug.cgi?id=741125
src/libostree/ostree-repo-checkout.c